package com.hntest.entity;

import com.hntest.util.BidConst;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PaymentSchedule extends BaseDomain {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	
	private Long bidRequestId;//对应借款
	private String bidRequestTitle;//借款名称
	private LoginInfo bidUser;//还款人
	private Date DeadLine;//本期还款日期
	private Date payDate;//还款时间
	
	private BigDecimal totalAmount=BidConst.ZERO;//本期还款总金额（本金加利息）
	private BigDecimal principal=BidConst.ZERO;//本期应还款本金
	private BigDecimal interest=BidConst.ZERO;//本期应还款利息
	private int returnType;//还款方式
	private int bidRequestType;//借款类型
	private int monthIndex;//第几期（第几个月）
	private int state=BidConst.PAYMENT_STATE_NORMAL;//本期还款状态（默认正常待还）
	//本期还款计划对应的还款计划明细
	private List<PaymentScheduleDetail> paymentScheduleDetail=new ArrayList<PaymentScheduleDetail>();
	public Long getBidRequestId() {
		return bidRequestId;
	}
	public void setBidRequestId(Long bidRequestId) {
		this.bidRequestId = bidRequestId;
	}
	public String getBidRequestTitle() {
		return bidRequestTitle;
	}
	public void setBidRequestTitle(String bidRequestTitle) {
		this.bidRequestTitle = bidRequestTitle;
	}
	public LoginInfo getBidUser() {
		return bidUser;
	}
	public void setBidUser(LoginInfo bidUser) {
		this.bidUser = bidUser;
	}
	public Date getDeadLine() {
		return DeadLine;
	}
	public void setDeadLine(Date deadLine) {
		DeadLine = deadLine;
	}
	public Date getPayDate() {
		return payDate;
	}
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}
	public int getReturnType() {
		return returnType;
	}
	public void setReturnType(int returnType) {
		this.returnType = returnType;
	}
	public int getBidRequestType() {
		return bidRequestType;
	}
	public void setBidRequestType(int bidRequestType) {
		this.bidRequestType = bidRequestType;
	}
	public int getMonthIndex() {
		return monthIndex;
	}
	public void setMonthIndex(int monthIndex) {
		this.monthIndex = monthIndex;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public List<PaymentScheduleDetail> getPaymentScheduleDetail() {
		return paymentScheduleDetail;
	}
	public void setPaymentScheduleDetail(List<PaymentScheduleDetail> paymentScheduleDetail) {
		this.paymentScheduleDetail = paymentScheduleDetail;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	public BigDecimal getPrincipal() {
		return principal;
	}
	public void setPrincipal(BigDecimal principal) {
		this.principal = principal;
	}
	public BigDecimal getInterest() {
		return interest;
	}
	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}
	
	
}
